package com.naire.modul.contract.service;

import net.common.service.GeneralService;
import com.naire.modul.contract.dao.ContractDao;
import com.naire.modul.contract.dao.impl.ContractDaoImpl;
import com.naire.modul.contract.vo.ContractVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class ContractFindService extends GeneralService {

	private ContractVo bean;
	private Integer id;

	@Override
	public void execute() throws Exception {
		ContractDao dao = new ContractDaoImpl();
		bean = dao.find(id);
	}

	public ContractVo getBean() {
		return bean;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
